import * as request from '../../utils/request';
import config from '../../config/config';

export function getAllNavigate(params) {
  return request.get(`${config.option_api.getAllNavigate}`, params);
}

export function addNavigate(params) {
  return request.post(`${config.option_api.addNavigate}`, { ...params });
}

export function updateNavigate(params) {
  return request.post(`${config.option_api.updateNavigate}`, params);
}
